﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DTOs
{
    public class CommonResult
    {
        public int Code { get; set; }
        public bool Success { get; set; }
        public string Msg { get; set; }
        public object Data { get; set; }

        public CommonResult(string msg, object data,int code=200, bool success=true )
        {
            Code = code;
            Success = success;
            Msg = msg;
            Data = data;
        }

        

    }
}
